/*******************************************************************************
 * Package: com.chris.order.api
 * Type:    ProductFeginFallCallBack
 * Date:    2024/3/2 下午2:58
 *
 * Copyright (c) 2024 BOING CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.chris.order.api;

import com.chris.common.entity.Product;
import org.springframework.stereotype.Component;

/**
 * TODO your comment
 *
 * @author Hudesheng
 * @date 2024/3/2 下午2:58
 */
@Component
public class ProductFeginFallCallBack implements ProductFegin {
    @Override
    public Product findByPid(Integer pid) {
        Product product = new Product();
        product.setPid(-1);
        return product;
    }
}